<layout name="layout" />
                <div class="page-header"><!-- Page header -->
                    <h5><i class="font-home"></i>导入样式</h5>
                </div><!-- /page header -->
                <div class="body">                
                    <!-- Content container -->
                    <div class="container"> 
                	
                        <!-- Site Summary -->
                        <div class="block well">
    	
<div class="table-overflow">
<FORM METHOD=POST id="form1" action="{:U('Admin/Template/style_import')}" enctype="multipart/form-data">	
<TABLE class="table table-bordered table-block tableform">
<TR>  
	<TH width="20%">选择样式文件：</TH> 
	<TD><INPUT TYPE="file" class="input-xxlarge" NAME="stylefile" value=""></TD>
</TR>
<TR>
	<TH>所属模板：</TH>
	<TD><select id="fpattern" name="tpls" class="input-xxlarge input-require">
		<volist name="tpllist" id="tpl">
		<option <?php if ($vo['tplid']==$tpl[id]){ ?>selected<?php };?> value="{$tpl[id]},{$tpl[tpldir]}"> {$tpl[title]} </option>
		</volist>
		</select></TD>
</TR>
<TR>
	<TH>启用样式：</TH>
	<TD><SELECT class="input-xxlarge" NAME="isdefault">
	<option selected value="1">启用</option>
	<option value="0">停用</option>
	</SELECT> 导入后是否直接启用该样式</TD>
</TR>
<TR>
	<TH></TH>
	<TD class="center">
	<input type="hidden" name="status" value="1">
	<button type="submit" class="btn btn-primary">导 入</button>&nbsp;&nbsp;&nbsp;&nbsp;
	<button type="reset" onclick="window.location.href='{:U('Admin/Template/index')}'" class="btn btn-danger">取 消</button>		
	</TD>
</TR>
</TABLE>
</div>
</div>
</div>
</div>
</FORM>